import React, { useEffect } from "react";
import { useNavigate } from "react-router";
import { getToken } from "../util/auth";

export default function Home() {

    const navigate = useNavigate();
    const token = getToken();
    if(!token) {
        navigate('/login')
    }
    useEffect(() => {
        
    })

    return (
        <div>
            HOME
        </div>
    )
    
}